package com.htt.base_library.util

import androidx.annotation.StringRes
import com.hjq.toast.ToastUtils
import com.test.library_base.R


/**
 * @ClassName ToastUtils
 * @Description 土司中转站
 * @Author Hong
 * @Date 2022/2/25 11:47
 * @Version 1.0
 */
object ToastUtils {

    fun show(msg: String) {
//        ToastUtils.setView(R.layout.toast_custom_view)
        ToastUtils.show(msg)
    }

    fun show(@StringRes id: Int) {
//        ToastUtils.setView(R.layout.toast_custom_view)
        ToastUtils.show(id)
    }

    fun show(msg: Any?) {
//        ToastUtils.setView(R.layout.toast_custom_view)
        ToastUtils.show(msg)
    }
}